.class Lcom/xingbook/audio/d/c;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/park/receiver/a;


# instance fields
.field final synthetic a:Lcom/xingbook/audio/d/b;


# direct methods
.method constructor <init>(Lcom/xingbook/audio/d/b;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;I)V
    .locals 2

    const/4 v1, 0x1

    if-eqz p1, :cond_0

    invoke-static {p2}, Lcom/xingbook/audio/b/a;->b(I)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->a(Lcom/xingbook/audio/d/b;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->c()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->a(Lcom/xingbook/audio/d/b;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->b(Lcom/xingbook/audio/d/b;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->c(Lcom/xingbook/audio/d/b;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->c(Lcom/xingbook/audio/d/b;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u5df2\u6536\u85cf"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public b(Ljava/lang/String;I)V
    .locals 2

    const/4 v1, 0x0

    if-eqz p1, :cond_0

    invoke-static {p2}, Lcom/xingbook/audio/b/a;->b(I)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->a(Lcom/xingbook/audio/d/b;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->c()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->a(Lcom/xingbook/audio/d/b;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->b(Lcom/xingbook/audio/d/b;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->c(Lcom/xingbook/audio/d/b;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/c;->a:Lcom/xingbook/audio/d/b;

    invoke-static {v0}, Lcom/xingbook/audio/d/b;->c(Lcom/xingbook/audio/d/b;)Landroid/widget/TextView;

    move-result-object v0

    const-string v1, "\u6536\u85cf"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method
